package com.smartlight.godlight.model;

public class Timespan {
//    "id": 7,
//            "name": "1个月",
//            "month": 1,
//            "money": "456.00"
    private int id;
    private String name;
    private int month;
    private double money;

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public int getMonth() {
        return month;
    }

    public double getMoney() {
        return money;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Timespan{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", month=" + month +
                ", money=" + money +
                '}';
    }
}
